Creates a GridPanel containing the specified plot and axis renderers.The panel is automatically added to the dashboard's LayoutPanel.
Namespace: MindFusion.Charting.Controls
File: LayoutBuilder.js
JavaScript Copy Code |
---|
function createAndAddPlotAndAxes (plot, top, left, bottom, right) |
A Plot2D instance.
An array of XAxisRenderer components that should be placed at top side of the plot.
An array of YAxisRenderer components that should be placed at left side of the plot.
An array of XAxisRenderer components that should be placed at bottom side of the plot.
An array of YAxisRenderer components that should be placed at right side of the plot.
A GridPanel instance.